﻿<UserControl x:Class="ConfigurationSetupUtility.Screens.XmlSetupScreen"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="400
             " MaxWidth="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=FrameworkElement, AncestorLevel=1}, Path=ActualWidth}">
    <DockPanel>
        <Label Content="Set up XML configuration" DockPanel.Dock="Top" FontSize="16" FontWeight="Bold" HorizontalContentAlignment="Center" Margin="10" />
        <StackPanel DockPanel.Dock="Bottom">
            <TextBlock Text="Please enter the path to an existing XML file to be used as your database configuration." TextAlignment="Center" Margin="20,0" TextWrapping="Wrap" />
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                <TextBox Height="23" Width="240" Name="m_xmlFilePathTextBox" TextChanged="XmlFilePathTextBox_TextChanged" Margin="0,0,5,0" />
                <Button Content="Browse..." Height="23" Width="75" Click="BrowseButton_Click" />
            </StackPanel>
        </StackPanel>
    </DockPanel>
</UserControl>
